# Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.

class OpentError(Exception):
	"""OpentError exception"""

	def __init__(self, reason, response=None):
		self.reason = unicode(reason)
		self.response = response

	def __str__(self):
		return self.reason